using System;

namespace B.S.XZYData.Api.Read.Dto.Product
{
    /// <summary>
    /// 产品数据传输对象
    /// </summary>
    public class ProductDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string Code { get; set; } = string.Empty;

        /// <summary>
        /// 产品名称
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 规格
        /// </summary>
        public string? Spec { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string? Unit { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 生产人员
        /// </summary>
        public string? Producer { get; set; }

        /// <summary>
        /// 生产开始时间
        /// </summary>
        public DateTime? ProductionStartTime { get; set; }

        /// <summary>
        /// 生产结束时间
        /// </summary>
        public DateTime? ProductionEndTime { get; set; }
    }
} 